using System;

namespace IBNet
{
    /// <summary>
    /// Represents an index.
    /// </summary>
    public class Index : Contract
    {
        /// <summary>
        /// Create an Index Contract for a specific exchange
        /// </summary>
        /// <param name="symbol">Symbol for the indice contract.</param>
        /// <param name="exchange">Exchange for the indice contract.</param>
        public Index(string symbol, string exchange)
          : base(symbol, SecurityType.Index, exchange, null, "USD")
        {
        }
    }
}
